<?php
class Menu extends MModel {
    static $table_name = 'ml_menus';
    static $has_many = array(
        array('ml_modules_menus_availables', 'class_name'=>'Module_Menu'),
        array('ml_modules', 'through'=>'ml_modules_menus_availables', 'source'=>'Module'),
    );
}
?>